var ioc = {
	config:{
		type:"org.nutz.ioc.impl.PropertiesProxy",
		fields:{
			paths:["config.properties"]
		}
	},
	dao : {
		type : "org.nutz.dao.impl.NutDao",
		args : [{refer:"dataSource"}]
	},
	dataSource : {
		type : "org.apache.commons.dbcp.BasicDataSource",
		events : {
			depose : 'close'
		},
		fields : {
			driverClassName : {java:"$config.get('driver')"},
			url : {java:"$config.get('url')"},
			username : {java:"$config.get('username')"},
			password : {java:"$config.get('password')"},
			testWhileIdle : true,
			validationQuery : {java:"$config.get('validationQuery')"}
		}
	}
}